Skip to content

How to use the route in xml #8928

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 30, 2017
Merged

How to use the route in xml #8928

merged 1 commit into from
Dec 30, 2017

Conversation

valterjrdev
Copy link
Contributor

According to xsd "http://symfony.com/schema/routing/routing-1.0.xsd" the tag does not exist because it is an attribute. This way above is the correct way to use

According to xsd "http://symfony.com/schema/routing/routing-1.0.xsd" the <controller> tag does not exist because it is an attribute. This way above is the correct way to use
Copy link
Member

@xabbuh xabbuh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@weaverryan
Copy link
Member

Thank you @valterjrdev!

@weaverryan weaverryan merged commit fcccd7a into symfony:4.0 Dec 30, 2017
weaverryan added a commit that referenced this pull request Dec 30, 2017
This PR was merged into the 4.0 branch.

Discussion
----------

How to use the route in xml

According to xsd "http://symfony.com/schema/routing/routing-1.0.xsd" the <controller> tag does not exist because it is an attribute. This way above is the correct way to use

Commits
-------

fcccd7a How to use the route in xml
weaverryan added a commit that referenced this pull request Dec 30, 2017
@weaverryan
Copy link
Member

Merged into 4.0. The controller key works in 3.4, but currently we only actually use it in the 4.0 docs. Also made a few other changes in sha: 9ee69f2

weaverryan added a commit that referenced this pull request Dec 30, 2017
* 4.0: (32 commits)
  [#8928] Fixing a few more bad XML routes
  Added Symfony\Component\Security\Guard\Authenticator\AbstractFormLoginAuthenticator
  Reworded the note about supressing form validation
  [PropertyInfo] Fixed doc about PhpDocExtractor
  use ValidatorInterface
  Update file_permissions.rst
  Update setup.rst
  How to use the route in xml
  adding install details about annotations in the routing chapter
  Removed an unneeded note in the Lock docs
  Fixed a grammar error
  Update web_server_configuration.rst
  Replaced class per id in service definition in XML
  Update http_foundation.rst
  bundles.rst: Conflict resolving clean up
  fix typo the_architecture.rst
  Update the_big_picture.rst
  add validator dependency
  Update flex_recipes.rst
  Minor reword.
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants